/**
 *
 */
package com.raymond.sgip.utils;

/**
 * @author liyuehai
 *
 */
public class SgipSequenceNumber {
    private long nodeId;
    private int timestamp;
    private int sequenceId;

    public SgipSequenceNumber(long nodeId, int sequenceId) {
        this.nodeId = nodeId;
        this.sequenceId = sequenceId;
    }

    public SgipSequenceNumber(long nodeId, int timestamp, int sequenceId) {
        this.nodeId = nodeId;
        this.timestamp = timestamp;
        this.sequenceId = sequenceId;
    }

    public long getNodeId() {
        return nodeId;
    }

    public void setNodeId(long nodeId) {
        this.nodeId = nodeId;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public int getSequenceId() {
        return sequenceId;
    }

    public void setSequenceId(int sequenceId) {
        this.sequenceId = sequenceId;
    }
}
